/*
 * Copyright (c) 2004-2008 Apple Inc. All rights reserved.
 * 
 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
 * 
 * This file contains Original Code and/or Modifications of Original Code
 * as defined in and that are subject to the Apple Public Source License
 * Version 2.0 (the 'License'). You may not use this file except in
 * compliance with the License. The rights granted to you under the License
 * may not be used to create, or enable the creation or redistribution of,
 * unlawful or unlicensed copies of an Apple operating system, or to
 * circumvent, violate, or enable the circumvention or violation of, any
 * terms of an Apple operating system software license agreement.
 * 
 * Please obtain a copy of the License at
 * http://www.opensource.apple.com/apsl/ and read it before using this file.
 * 
 * The Original Code and all software distributed under the License are
 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
 * Please see the License for the specific language governing rights and
 * limitations under the License.
 * 
 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
 * 
 * 
 * System call switch table.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from syscalls.master
 */

#include <sys/param.h>
#include <sys/types.h>

#include <bsm/audit.h>
#include <bsm/audit_kevents.h>

#if CONFIG_AUDIT

au_event_t sys_au_event[] = {
	AUE_NULL,		/* 0 = syscall indirect syscall */
	AUE_EXIT,		/* 1 = exit */
	AUE_FORK,		/* 2 = fork */
	AUE_NULL,		/* 3 = read */
	AUE_NULL,		/* 4 = write */
	AUE_OPEN_RWTC,		/* 5 = open */
	AUE_CLOSE,		/* 6 = close */
	AUE_WAIT4,		/* 7 = wait4 */
	AUE_NULL,		/* 8 = nosys old creat */
	AUE_LINK,		/* 9 = link */
	AUE_UNLINK,		/* 10 = unlink */
	AUE_NULL,		/* 11 = nosys old execv */
	AUE_CHDIR,		/* 12 = chdir */
	AUE_FCHDIR,		/* 13 = fchdir */
	AUE_MKNOD,		/* 14 = mknod */
	AUE_CHMOD,		/* 15 = chmod */
	AUE_CHOWN,		/* 16 = chown */
	AUE_NULL,		/* 17 = nosys old break */
	AUE_GETFSSTAT,		/* 18 = getfsstat */
	AUE_NULL,		/* 19 = nosys old lseek */
	AUE_GETPID,		/* 20 = getpid */
	AUE_NULL,		/* 21 = nosys old mount */
	AUE_NULL,		/* 22 = nosys old umount */
	AUE_SETUID,		/* 23 = setuid */
	AUE_GETUID,		/* 24 = getuid */
	AUE_GETEUID,		/* 25 = geteuid */
	AUE_PTRACE,		/* 26 = ptrace */
#if SOCKETS
	AUE_RECVMSG,		/* 27 = recvmsg */
	AUE_SENDMSG,		/* 28 = sendmsg */
	AUE_RECVFROM,		/* 29 = recvfrom */
	AUE_ACCEPT,		/* 30 = accept */
	AUE_GETPEERNAME,		/* 31 = getpeername */
	AUE_GETSOCKNAME,		/* 32 = getsockname */
#else
	AUE_NULL,		/* 27 = nosys */
	AUE_NULL,		/* 28 = nosys */
	AUE_NULL,		/* 29 = nosys */
	AUE_NULL,		/* 30 = nosys */
	AUE_NULL,		/* 31 = nosys */
	AUE_NULL,		/* 32 = nosys */
#endif /* SOCKETS */
	AUE_ACCESS,		/* 33 = access */
	AUE_CHFLAGS,		/* 34 = chflags */
	AUE_FCHFLAGS,		/* 35 = fchflags */
	AUE_SYNC,		/* 36 = sync */
	AUE_KILL,		/* 37 = kill */
	AUE_NULL,		/* 38 = nosys old stat */
	AUE_GETPPID,		/* 39 = getppid */
	AUE_NULL,		/* 40 = nosys old lstat */
	AUE_DUP,		/* 41 = dup */
	AUE_PIPE,		/* 42 = pipe */
	AUE_GETEGID,		/* 43 = getegid */
	AUE_NULL,		/* 44 = nosys old profil */
	AUE_NULL,		/* 45 = nosys old ktrace */
	AUE_SIGACTION,		/* 46 = sigaction */
	AUE_GETGID,		/* 47 = getgid */
	AUE_SIGPROCMASK,		/* 48 = sigprocmask */
	AUE_GETLOGIN,		/* 49 = getlogin */
	AUE_SETLOGIN,		/* 50 = setlogin */
	AUE_ACCT,		/* 51 = acct */
	AUE_SIGPENDING,		/* 52 = sigpending */
	AUE_SIGALTSTACK,		/* 53 = sigaltstack */
	AUE_IOCTL,		/* 54 = ioctl */
	AUE_REBOOT,		/* 55 = reboot */
	AUE_REVOKE,		/* 56 = revoke */
	AUE_SYMLINK,		/* 57 = symlink */
	AUE_READLINK,		/* 58 = readlink */
	AUE_EXECVE,		/* 59 = execve */
	AUE_UMASK,		/* 60 = umask */
	AUE_CHROOT,		/* 61 = chroot */
	AUE_NULL,		/* 62 = nosys old fstat */
	AUE_NULL,		/* 63 = nosys used internally , reserved */
	AUE_NULL,		/* 64 = nosys old getpagesize */
	AUE_MSYNC,		/* 65 = msync */
	AUE_VFORK,		/* 66 = vfork */
	AUE_NULL,		/* 67 = nosys old vread */
	AUE_NULL,		/* 68 = nosys old vwrite */
	AUE_NULL,		/* 69 = nosys old sbrk */
	AUE_NULL,		/* 70 = nosys old sstk */
	AUE_NULL,		/* 71 = nosys old mmap */
	AUE_NULL,		/* 72 = nosys old vadvise */
	AUE_MUNMAP,		/* 73 = munmap */
	AUE_MPROTECT,		/* 74 = mprotect */
	AUE_MADVISE,		/* 75 = madvise */
	AUE_NULL,		/* 76 = nosys old vhangup */
	AUE_NULL,		/* 77 = nosys old vlimit */
	AUE_MINCORE,		/* 78 = mincore */
	AUE_GETGROUPS,		/* 79 = getgroups */
	AUE_SETGROUPS,		/* 80 = setgroups */
	AUE_GETPGRP,		/* 81 = getpgrp */
	AUE_SETPGRP,		/* 82 = setpgid */
	AUE_SETITIMER,		/* 83 = setitimer */
	AUE_NULL,		/* 84 = nosys old wait */
	AUE_SWAPON,		/* 85 = swapon */
	AUE_GETITIMER,		/* 86 = getitimer */
	AUE_NULL,		/* 87 = nosys old gethostname */
	AUE_NULL,		/* 88 = nosys old sethostname */
	AUE_GETDTABLESIZE,		/* 89 = getdtablesize */
	AUE_DUP2,		/* 90 = dup2 */
	AUE_NULL,		/* 91 = nosys old getdopt */
	AUE_FCNTL,		/* 92 = fcntl */
	AUE_SELECT,		/* 93 = select */
	AUE_NULL,		/* 94 = nosys old setdopt */
	AUE_FSYNC,		/* 95 = fsync */
	AUE_SETPRIORITY,		/* 96 = setpriority */
#if SOCKETS
	AUE_SOCKET,		/* 97 = socket */
	AUE_CONNECT,		/* 98 = connect */
#else
	AUE_NULL,		/* 97 = nosys */
	AUE_NULL,		/* 98 = nosys */
#endif /* SOCKETS */
	AUE_NULL,		/* 99 = nosys old accept */
	AUE_GETPRIORITY,		/* 100 = getpriority */
	AUE_NULL,		/* 101 = nosys old send */
	AUE_NULL,		/* 102 = nosys old recv */
	AUE_NULL,		/* 103 = nosys old sigreturn */
#if SOCKETS
	AUE_BIND,		/* 104 = bind */
	AUE_SETSOCKOPT,		/* 105 = setsockopt */
	AUE_LISTEN,		/* 106 = listen */
#else
	AUE_NULL,		/* 104 = nosys */
	AUE_NULL,		/* 105 = nosys */
	AUE_NULL,		/* 106 = nosys */
#endif /* SOCKETS */
	AUE_NULL,		/* 107 = nosys old vtimes */
	AUE_NULL,		/* 108 = nosys old sigvec */
	AUE_NULL,		/* 109 = nosys old sigblock */
	AUE_NULL,		/* 110 = nosys old sigsetmask */
	AUE_NULL,		/* 111 = sigsuspend */
	AUE_NULL,		/* 112 = nosys old sigstack */
#if SOCKETS
	AUE_NULL,		/* 113 = nosys old recvmsg */
	AUE_NULL,		/* 114 = nosys old sendmsg */
#else
	AUE_NULL,		/* 113 = nosys */
	AUE_NULL,		/* 114 = nosys */
#endif /* SOCKETS */
	AUE_NULL,		/* 115 = nosys old vtrace */
	AUE_GETTIMEOFDAY,		/* 116 = gettimeofday */
	AUE_GETRUSAGE,		/* 117 = getrusage */
#if SOCKETS
	AUE_GETSOCKOPT,		/* 118 = getsockopt */
#else
	AUE_NULL,		/* 118 = nosys */
#endif /* SOCKETS */
	AUE_NULL,		/* 119 = nosys old resuba */
	AUE_READV,		/* 120 = readv */
	AUE_WRITEV,		/* 121 = writev */
	AUE_SETTIMEOFDAY,		/* 122 = settimeofday */
	AUE_FCHOWN,		/* 123 = fchown */
	AUE_FCHMOD,		/* 124 = fchmod */
	AUE_NULL,		/* 125 = nosys old recvfrom */
	AUE_SETREUID,		/* 126 = setreuid */
	AUE_SETREGID,		/* 127 = setregid */
	AUE_RENAME,		/* 128 = rename */
	AUE_NULL,		/* 129 = nosys old truncate */
	AUE_NULL,		/* 130 = nosys old ftruncate */
	AUE_FLOCK,		/* 131 = flock */
	AUE_MKFIFO,		/* 132 = mkfifo */
#if SOCKETS
	AUE_SENDTO,		/* 133 = sendto */
	AUE_SHUTDOWN,		/* 134 = shutdown */
	AUE_SOCKETPAIR,		/* 135 = socketpair */
#else
	AUE_NULL,		/* 133 = nosys */
	AUE_NULL,		/* 134 = nosys */
	AUE_NULL,		/* 135 = nosys */
#endif /* SOCKETS */
	AUE_MKDIR,		/* 136 = mkdir */
	AUE_RMDIR,		/* 137 = rmdir */
	AUE_UTIMES,		/* 138 = utimes */
	AUE_FUTIMES,		/* 139 = futimes */
	AUE_ADJTIME,		/* 140 = adjtime */
	AUE_NULL,		/* 141 = nosys old getpeername */
	AUE_SYSCTL,		/* 142 = gethostuuid */
	AUE_NULL,		/* 143 = nosys old sethostid */
	AUE_NULL,		/* 144 = nosys old getrlimit */
	AUE_NULL,		/* 145 = nosys old setrlimit */
	AUE_NULL,		/* 146 = nosys old killpg */
	AUE_SETSID,		/* 147 = setsid */
	AUE_NULL,		/* 148 = nosys old setquota */
	AUE_NULL,		/* 149 = nosys old qquota */
	AUE_NULL,		/* 150 = nosys old getsockname */
	AUE_GETPGID,		/* 151 = getpgid */
	AUE_SETPRIVEXEC,		/* 152 = setprivexec */
	AUE_PREAD,		/* 153 = pread */
	AUE_PWRITE,		/* 154 = pwrite */
#if NFSSERVER
	AUE_NFS_SVC,		/* 155 = nfssvc */
#else
	AUE_NULL,		/* 155 = nosys */
#endif
	AUE_NULL,		/* 156 = nosys old getdirentries */
	AUE_STATFS,		/* 157 = statfs */
	AUE_FSTATFS,		/* 158 = fstatfs */
	AUE_UNMOUNT,		/* 159 = unmount */
	AUE_NULL,		/* 160 = nosys old async_daemon */
#if NFSSERVER
	AUE_NFS_GETFH,		/* 161 = getfh */
#else
	AUE_NULL,		/* 161 = nosys */
#endif
	AUE_NULL,		/* 162 = nosys old getdomainname */
	AUE_NULL,		/* 163 = nosys old setdomainname */
	AUE_NULL,		/* 164 = nosys */
	AUE_QUOTACTL,		/* 165 = quotactl */
	AUE_NULL,		/* 166 = nosys old exportfs */
	AUE_MOUNT,		/* 167 = mount */
	AUE_NULL,		/* 168 = nosys old ustat */
	AUE_CSOPS,		/* 169 = csops */
	AUE_CSOPS,		/* 170 = csops_audittoken */
	AUE_NULL,		/* 171 = nosys old wait3 */
	AUE_NULL,		/* 172 = nosys old rpause */
	AUE_WAITID,		/* 173 = waitid */
	AUE_NULL,		/* 174 = nosys old getdents */
	AUE_NULL,		/* 175 = nosys old gc_control */
	AUE_NULL,		/* 176 = nosys old add_profil */
	AUE_NULL,		/* 177 = nosys */
	AUE_NULL,		/* 178 = nosys */
	AUE_NULL,		/* 179 = nosys */
	AUE_KDEBUGTRACE,		/* 180 = kdebug_trace */
	AUE_SETGID,		/* 181 = setgid */
	AUE_SETEGID,		/* 182 = setegid */
	AUE_SETEUID,		/* 183 = seteuid */
	AUE_SIGRETURN,		/* 184 = sigreturn */
	AUE_CHUD,		/* 185 = chud */
	AUE_NULL,		/* 186 = nosys */
	AUE_FDATASYNC,		/* 187 = fdatasync */
	AUE_STAT,		/* 188 = stat */
	AUE_FSTAT,		/* 189 = fstat */
	AUE_LSTAT,		/* 190 = lstat */
	AUE_PATHCONF,		/* 191 = pathconf */
	AUE_FPATHCONF,		/* 192 = fpathconf */
	AUE_NULL,		/* 193 = nosys */
	AUE_GETRLIMIT,		/* 194 = getrlimit */
	AUE_SETRLIMIT,		/* 195 = setrlimit */
	AUE_GETDIRENTRIES,		/* 196 = getdirentries */
	AUE_MMAP,		/* 197 = mmap */
	AUE_NULL,		/* 198 = nosys __syscall */
	AUE_LSEEK,		/* 199 = lseek */
	AUE_TRUNCATE,		/* 200 = truncate */
	AUE_FTRUNCATE,		/* 201 = ftruncate */
	AUE_SYSCTL,		/* 202 = __sysctl */
	AUE_MLOCK,		/* 203 = mlock */
	AUE_MUNLOCK,		/* 204 = munlock */
	AUE_UNDELETE,		/* 205 = undelete */
	AUE_NULL,		/* 206 = nosys old ATsocket */
	AUE_NULL,		/* 207 = nosys old ATgetmsg */
	AUE_NULL,		/* 208 = nosys old ATputmsg */
	AUE_NULL,		/* 209 = nosys old ATsndreq */
	AUE_NULL,		/* 210 = nosys old ATsndrsp */
	AUE_NULL,		/* 211 = nosys old ATgetreq */
	AUE_NULL,		/* 212 = nosys old ATgetrsp */
	AUE_NULL,		/* 213 = nosys Reserved for AppleTalk */
	AUE_NULL,		/* 214 = nosys */
	AUE_NULL,		/* 215 = nosys */
	AUE_NULL,		/* 216 = open_dprotected_np */
	AUE_NULL,		/* 217 = nosys */
	AUE_NULL,		/* 218 = nosys */
	AUE_NULL,		/* 219 = nosys */
	AUE_GETATTRLIST,		/* 220 = getattrlist */
	AUE_SETATTRLIST,		/* 221 = setattrlist */
	AUE_GETDIRENTRIESATTR,		/* 222 = getdirentriesattr */
	AUE_EXCHANGEDATA,		/* 223 = exchangedata */
	AUE_NULL,		/* 224 = nosys old checkuseraccess / fsgetpath ( which moved to 427 ) */
	AUE_SEARCHFS,		/* 225 = searchfs */
	AUE_DELETE,		/* 226 = delete private delete ( Carbon semantics ) */
	AUE_COPYFILE,		/* 227 = copyfile */
	AUE_FGETATTRLIST,		/* 228 = fgetattrlist */
	AUE_FSETATTRLIST,		/* 229 = fsetattrlist */
	AUE_POLL,		/* 230 = poll */
	AUE_WATCHEVENT,		/* 231 = watchevent */
	AUE_WAITEVENT,		/* 232 = waitevent */
	AUE_MODWATCH,		/* 233 = modwatch */
	AUE_GETXATTR,		/* 234 = getxattr */
	AUE_FGETXATTR,		/* 235 = fgetxattr */
	AUE_SETXATTR,		/* 236 = setxattr */
	AUE_FSETXATTR,		/* 237 = fsetxattr */
	AUE_REMOVEXATTR,		/* 238 = removexattr */
	AUE_FREMOVEXATTR,		/* 239 = fremovexattr */
	AUE_LISTXATTR,		/* 240 = listxattr */
	AUE_FLISTXATTR,		/* 241 = flistxattr */
	AUE_FSCTL,		/* 242 = fsctl */
	AUE_INITGROUPS,		/* 243 = initgroups */
	AUE_POSIX_SPAWN,		/* 244 = posix_spawn */
	AUE_FFSCTL,		/* 245 = ffsctl */
	AUE_NULL,		/* 246 = nosys */
#if NFSCLIENT
	AUE_NULL,		/* 247 = nfsclnt */
#else
	AUE_NULL,		/* 247 = nosys */
#endif
#if NFSSERVER
	AUE_FHOPEN,		/* 248 = fhopen */
#else
	AUE_NULL,		/* 248 = nosys */
#endif
	AUE_NULL,		/* 249 = nosys */
	AUE_MINHERIT,		/* 250 = minherit */
#if SYSV_SEM
	AUE_SEMSYS,		/* 251 = semsys */
#else
	AUE_NULL,		/* 251 = nosys */
#endif
#if SYSV_MSG
	AUE_MSGSYS,		/* 252 = msgsys */
#else
	AUE_NULL,		/* 252 = nosys */
#endif
#if SYSV_SHM
	AUE_SHMSYS,		/* 253 = shmsys */
#else
	AUE_NULL,		/* 253 = nosys */
#endif
#if SYSV_SEM
	AUE_SEMCTL,		/* 254 = semctl */
	AUE_SEMGET,		/* 255 = semget */
	AUE_SEMOP,		/* 256 = semop */
	AUE_NULL,		/* 257 = nosys */
#else
	AUE_NULL,		/* 254 = nosys */
	AUE_NULL,		/* 255 = nosys */
	AUE_NULL,		/* 256 = nosys */
	AUE_NULL,		/* 257 = nosys */
#endif
#if SYSV_MSG
	AUE_MSGCTL,		/* 258 = msgctl */
	AUE_MSGGET,		/* 259 = msgget */
	AUE_MSGSND,		/* 260 = msgsnd */
	AUE_MSGRCV,		/* 261 = msgrcv */
#else
	AUE_NULL,		/* 258 = nosys */
	AUE_NULL,		/* 259 = nosys */
	AUE_NULL,		/* 260 = nosys */
	AUE_NULL,		/* 261 = nosys */
#endif
#if SYSV_SHM
	AUE_SHMAT,		/* 262 = shmat */
	AUE_SHMCTL,		/* 263 = shmctl */
	AUE_SHMDT,		/* 264 = shmdt */
	AUE_SHMGET,		/* 265 = shmget */
#else
	AUE_NULL,		/* 262 = nosys */
	AUE_NULL,		/* 263 = nosys */
	AUE_NULL,		/* 264 = nosys */
	AUE_NULL,		/* 265 = nosys */
#endif
	AUE_SHMOPEN,		/* 266 = shm_open */
	AUE_SHMUNLINK,		/* 267 = shm_unlink */
	AUE_SEMOPEN,		/* 268 = sem_open */
	AUE_SEMCLOSE,		/* 269 = sem_close */
	AUE_SEMUNLINK,		/* 270 = sem_unlink */
	AUE_SEMWAIT,		/* 271 = sem_wait */
	AUE_SEMTRYWAIT,		/* 272 = sem_trywait */
	AUE_SEMPOST,		/* 273 = sem_post */
	AUE_SEMGETVALUE,		/* 274 = sem_getvalue */
	AUE_SEMINIT,		/* 275 = sem_init */
	AUE_SEMDESTROY,		/* 276 = sem_destroy */
	AUE_OPEN_EXTENDED_RWTC,		/* 277 = open_extended */
	AUE_UMASK_EXTENDED,		/* 278 = umask_extended */
	AUE_STAT_EXTENDED,		/* 279 = stat_extended */
	AUE_LSTAT_EXTENDED,		/* 280 = lstat_extended */
	AUE_FSTAT_EXTENDED,		/* 281 = fstat_extended */
	AUE_CHMOD_EXTENDED,		/* 282 = chmod_extended */
	AUE_FCHMOD_EXTENDED,		/* 283 = fchmod_extended */
	AUE_ACCESS_EXTENDED,		/* 284 = access_extended */
	AUE_SETTID,		/* 285 = settid */
	AUE_GETTID,		/* 286 = gettid */
	AUE_SETSGROUPS,		/* 287 = setsgroups */
	AUE_GETSGROUPS,		/* 288 = getsgroups */
	AUE_SETWGROUPS,		/* 289 = setwgroups */
	AUE_GETWGROUPS,		/* 290 = getwgroups */
	AUE_MKFIFO_EXTENDED,		/* 291 = mkfifo_extended */
	AUE_MKDIR_EXTENDED,		/* 292 = mkdir_extended */
#if CONFIG_EXT_RESOLVER
	AUE_IDENTITYSVC,		/* 293 = identitysvc */
#else
	AUE_NULL,		/* 293 = nosys */
#endif
	AUE_NULL,		/* 294 = shared_region_check_np */
	AUE_NULL,		/* 295 = nosys old shared_region_map_np */
	AUE_NULL,		/* 296 = vm_pressure_monitor */
#if PSYNCH
	AUE_NULL,		/* 297 = psynch_rw_longrdlock */
	AUE_NULL,		/* 298 = psynch_rw_yieldwrlock */
	AUE_NULL,		/* 299 = psynch_rw_downgrade */
	AUE_NULL,		/* 300 = psynch_rw_upgrade */
	AUE_NULL,		/* 301 = psynch_mutexwait */
	AUE_NULL,		/* 302 = psynch_mutexdrop */
	AUE_NULL,		/* 303 = psynch_cvbroad */
	AUE_NULL,		/* 304 = psynch_cvsignal */
	AUE_NULL,		/* 305 = psynch_cvwait */
	AUE_NULL,		/* 306 = psynch_rw_rdlock */
	AUE_NULL,		/* 307 = psynch_rw_wrlock */
	AUE_NULL,		/* 308 = psynch_rw_unlock */
	AUE_NULL,		/* 309 = psynch_rw_unlock2 */
#else
	AUE_NULL,		/* 297 = nosys old reset_shared_file */
	AUE_NULL,		/* 298 = nosys old new_system_shared_regions */
	AUE_NULL,		/* 299 = enosys old shared_region_map_file_np */
	AUE_NULL,		/* 300 = enosys old shared_region_make_private_np */
	AUE_NULL,		/* 301 = nosys */
	AUE_NULL,		/* 302 = nosys */
	AUE_NULL,		/* 303 = nosys */
	AUE_NULL,		/* 304 = nosys */
	AUE_NULL,		/* 305 = nosys */
	AUE_NULL,		/* 306 = nosys */
	AUE_NULL,		/* 307 = nosys */
	AUE_NULL,		/* 308 = nosys */
	AUE_NULL,		/* 309 = nosys */
#endif
	AUE_GETSID,		/* 310 = getsid */
	AUE_SETTIDWITHPID,		/* 311 = settid_with_pid */
#if PSYNCH
	AUE_NULL,		/* 312 = psynch_cvclrprepost */
#else
	AUE_NULL,		/* 312 = nosys old __pthread_cond_timedwait */
#endif
	AUE_NULL,		/* 313 = aio_fsync */
	AUE_NULL,		/* 314 = aio_return */
	AUE_NULL,		/* 315 = aio_suspend */
	AUE_NULL,		/* 316 = aio_cancel */
	AUE_NULL,		/* 317 = aio_error */
	AUE_NULL,		/* 318 = aio_read */
	AUE_NULL,		/* 319 = aio_write */
	AUE_LIOLISTIO,		/* 320 = lio_listio */
	AUE_NULL,		/* 321 = nosys old __pthread_cond_wait */
	AUE_IOPOLICYSYS,		/* 322 = iopolicysys */
	AUE_NULL,		/* 323 = process_policy */
	AUE_MLOCKALL,		/* 324 = mlockall */
	AUE_MUNLOCKALL,		/* 325 = munlockall */
	AUE_NULL,		/* 326 = nosys */
	AUE_ISSETUGID,		/* 327 = issetugid */
	AUE_PTHREADKILL,		/* 328 = __pthread_kill */
	AUE_PTHREADSIGMASK,		/* 329 = __pthread_sigmask */
	AUE_SIGWAIT,		/* 330 = __sigwait */
	AUE_NULL,		/* 331 = __disable_threadsignal */
	AUE_NULL,		/* 332 = __pthread_markcancel */
	AUE_NULL,		/* 333 = __pthread_canceled */
	AUE_SEMWAITSIGNAL,		/* 334 = __semwait_signal */
	AUE_NULL,		/* 335 = nosys old utrace */
	AUE_PROCINFO,		/* 336 = proc_info */
#if SENDFILE
	AUE_SENDFILE,		/* 337 = sendfile */
#else /* !SENDFILE */
	AUE_NULL,		/* 337 = nosys */
#endif /* SENDFILE */
	AUE_STAT64,		/* 338 = stat64 */
	AUE_FSTAT64,		/* 339 = fstat64 */
	AUE_LSTAT64,		/* 340 = lstat64 */
	AUE_STAT64_EXTENDED,		/* 341 = stat64_extended */
	AUE_LSTAT64_EXTENDED,		/* 342 = lstat64_extended */
	AUE_FSTAT64_EXTENDED,		/* 343 = fstat64_extended */
	AUE_GETDIRENTRIES64,		/* 344 = getdirentries64 */
	AUE_STATFS64,		/* 345 = statfs64 */
	AUE_FSTATFS64,		/* 346 = fstatfs64 */
	AUE_GETFSSTAT64,		/* 347 = getfsstat64 */
	AUE_NULL,		/* 348 = __pthread_chdir */
	AUE_NULL,		/* 349 = __pthread_fchdir */
	AUE_AUDIT,		/* 350 = audit */
	AUE_AUDITON,		/* 351 = auditon */
	AUE_NULL,		/* 352 = nosys */
	AUE_GETAUID,		/* 353 = getauid */
	AUE_SETAUID,		/* 354 = setauid */
	AUE_NULL,		/* 355 = nosys old getaudit */
	AUE_NULL,		/* 356 = nosys old setaudit */
	AUE_GETAUDIT_ADDR,		/* 357 = getaudit_addr */
	AUE_SETAUDIT_ADDR,		/* 358 = setaudit_addr */
	AUE_AUDITCTL,		/* 359 = auditctl */
#if CONFIG_WORKQUEUE
	AUE_NULL,		/* 360 = bsdthread_create */
	AUE_NULL,		/* 361 = bsdthread_terminate */
#else
	AUE_NULL,		/* 360 = nosys */
	AUE_NULL,		/* 361 = nosys */
#endif /* CONFIG_WORKQUEUE */
	AUE_KQUEUE,		/* 362 = kqueue */
	AUE_NULL,		/* 363 = kevent */
	AUE_LCHOWN,		/* 364 = lchown */
	AUE_STACKSNAPSHOT,		/* 365 = stack_snapshot */
#if CONFIG_WORKQUEUE
	AUE_NULL,		/* 366 = bsdthread_register */
	AUE_WORKQOPEN,		/* 367 = workq_open */
	AUE_WORKQOPS,		/* 368 = workq_kernreturn */
#else
	AUE_NULL,		/* 366 = nosys */
	AUE_NULL,		/* 367 = nosys */
	AUE_NULL,		/* 368 = nosys */
#endif /* CONFIG_WORKQUEUE */
	AUE_NULL,		/* 369 = kevent64 */
#if OLD_SEMWAIT_SIGNAL
	AUE_SEMWAITSIGNAL,		/* 370 = __old_semwait_signal */
	AUE_SEMWAITSIGNAL,		/* 371 = __old_semwait_signal_nocancel */
#else
	AUE_NULL,		/* 370 = nosys old __semwait_signal */
	AUE_NULL,		/* 371 = nosys old __semwait_signal */
#endif
	AUE_NULL,		/* 372 = thread_selfid */
	AUE_LEDGER,		/* 373 = ledger */
	AUE_NULL,		/* 374 = nosys */
	AUE_NULL,		/* 375 = nosys */
	AUE_NULL,		/* 376 = nosys */
	AUE_NULL,		/* 377 = nosys */
	AUE_NULL,		/* 378 = nosys */
	AUE_NULL,		/* 379 = nosys */
	AUE_MAC_EXECVE,		/* 380 = __mac_execve */
#if CONFIG_MACF
	AUE_MAC_SYSCALL,		/* 381 = __mac_syscall */
	AUE_MAC_GET_FILE,		/* 382 = __mac_get_file */
	AUE_MAC_SET_FILE,		/* 383 = __mac_set_file */
	AUE_MAC_GET_LINK,		/* 384 = __mac_get_link */
	AUE_MAC_SET_LINK,		/* 385 = __mac_set_link */
	AUE_MAC_GET_PROC,		/* 386 = __mac_get_proc */
	AUE_MAC_SET_PROC,		/* 387 = __mac_set_proc */
	AUE_MAC_GET_FD,		/* 388 = __mac_get_fd */
	AUE_MAC_SET_FD,		/* 389 = __mac_set_fd */
	AUE_MAC_GET_PID,		/* 390 = __mac_get_pid */
	AUE_MAC_GET_LCID,		/* 391 = __mac_get_lcid */
	AUE_MAC_GET_LCTX,		/* 392 = __mac_get_lctx */
	AUE_MAC_SET_LCTX,		/* 393 = __mac_set_lctx */
#else
	AUE_MAC_SYSCALL,		/* 381 = enosys */
	AUE_MAC_GET_FILE,		/* 382 = nosys */
	AUE_MAC_SET_FILE,		/* 383 = nosys */
	AUE_MAC_GET_LINK,		/* 384 = nosys */
	AUE_MAC_SET_LINK,		/* 385 = nosys */
	AUE_MAC_GET_PROC,		/* 386 = nosys */
	AUE_MAC_SET_PROC,		/* 387 = nosys */
	AUE_MAC_GET_FD,		/* 388 = nosys */
	AUE_MAC_SET_FD,		/* 389 = nosys */
	AUE_MAC_GET_PID,		/* 390 = nosys */
	AUE_MAC_GET_LCID,		/* 391 = nosys */
	AUE_MAC_GET_LCTX,		/* 392 = nosys */
	AUE_MAC_SET_LCTX,		/* 393 = nosys */
#endif
	AUE_SETLCID,		/* 394 = setlcid */
	AUE_GETLCID,		/* 395 = getlcid */
	AUE_NULL,		/* 396 = read_nocancel */
	AUE_NULL,		/* 397 = write_nocancel */
	AUE_OPEN_RWTC,		/* 398 = open_nocancel */
	AUE_CLOSE,		/* 399 = close_nocancel */
	AUE_WAIT4,		/* 400 = wait4_nocancel */
#if SOCKETS
	AUE_RECVMSG,		/* 401 = recvmsg_nocancel */
	AUE_SENDMSG,		/* 402 = sendmsg_nocancel */
	AUE_RECVFROM,		/* 403 = recvfrom_nocancel */
	AUE_ACCEPT,		/* 404 = accept_nocancel */
#else
	AUE_NULL,		/* 401 = nosys */
	AUE_NULL,		/* 402 = nosys */
	AUE_NULL,		/* 403 = nosys */
	AUE_NULL,		/* 404 = nosys */
#endif /* SOCKETS */
	AUE_MSYNC,		/* 405 = msync_nocancel */
	AUE_FCNTL,		/* 406 = fcntl_nocancel */
	AUE_SELECT,		/* 407 = select_nocancel */
	AUE_FSYNC,		/* 408 = fsync_nocancel */
#if SOCKETS
	AUE_CONNECT,		/* 409 = connect_nocancel */
#else
	AUE_NULL,		/* 409 = nosys */
#endif /* SOCKETS */
	AUE_NULL,		/* 410 = sigsuspend_nocancel */
	AUE_READV,		/* 411 = readv_nocancel */
	AUE_WRITEV,		/* 412 = writev_nocancel */
#if SOCKETS
	AUE_SENDTO,		/* 413 = sendto_nocancel */
#else
	AUE_NULL,		/* 413 = nosys */
#endif /* SOCKETS */
	AUE_PREAD,		/* 414 = pread_nocancel */
	AUE_PWRITE,		/* 415 = pwrite_nocancel */
	AUE_WAITID,		/* 416 = waitid_nocancel */
	AUE_POLL,		/* 417 = poll_nocancel */
#if SYSV_MSG
	AUE_MSGSND,		/* 418 = msgsnd_nocancel */
	AUE_MSGRCV,		/* 419 = msgrcv_nocancel */
#else
	AUE_NULL,		/* 418 = nosys */
	AUE_NULL,		/* 419 = nosys */
#endif
	AUE_SEMWAIT,		/* 420 = sem_wait_nocancel */
	AUE_NULL,		/* 421 = aio_suspend_nocancel */
	AUE_SIGWAIT,		/* 422 = __sigwait_nocancel */
	AUE_SEMWAITSIGNAL,		/* 423 = __semwait_signal_nocancel */
	AUE_MAC_MOUNT,		/* 424 = __mac_mount */
#if CONFIG_MACF
	AUE_MAC_GET_MOUNT,		/* 425 = __mac_get_mount */
#else
	AUE_MAC_GET_MOUNT,		/* 425 = nosys */
#endif
	AUE_MAC_GETFSSTAT,		/* 426 = __mac_getfsstat */
	AUE_FSGETPATH,		/* 427 = fsgetpath private fsgetpath ( File Manager SPI ) */
	AUE_NULL,		/* 428 = audit_session_self */
	AUE_NULL,		/* 429 = audit_session_join */
	AUE_NULL,		/* 430 = fileport_makeport */
	AUE_NULL,		/* 431 = fileport_makefd */
	AUE_NULL,		/* 432 = audit_session_port */
	AUE_NULL,		/* 433 = pid_suspend */
	AUE_NULL,		/* 434 = pid_resume */
	AUE_NULL,		/* 435 = nosys */
	AUE_NULL,		/* 436 = nosys */
	AUE_NULL,		/* 437 = nosys old shared_region_slide_np */
	AUE_NULL,		/* 438 = shared_region_map_and_slide_np */
	AUE_NULL,		/* 439 = kas_info */
#if CONFIG_MEMORYSTATUS
	AUE_NULL,		/* 440 = memorystatus_control */
#else
	AUE_NULL,		/* 440 = nosys */
#endif
	AUE_OPEN_RWTC,		/* 441 = guarded_open_np */
	AUE_CLOSE,		/* 442 = guarded_close_np */
	AUE_KQUEUE,		/* 443 = guarded_kqueue_np */
	AUE_NULL,		/* 444 = change_fdguard_np */
	AUE_NULL,		/* 445 = nosys old __proc_suppress */
	AUE_NULL,		/* 446 = proc_rlimit_control */
#if SOCKETS
	AUE_CONNECT,		/* 447 = connectx */
	AUE_NULL,		/* 448 = disconnectx */
	AUE_NULL,		/* 449 = peeloff */
	AUE_SOCKET,		/* 450 = socket_delegate */
#else
	AUE_NULL,		/* 447 = nosys */
	AUE_NULL,		/* 448 = nosys */
	AUE_NULL,		/* 449 = nosys */
	AUE_NULL,		/* 450 = nosys */
#endif /* SOCKETS */
#if CONFIG_TELEMETRY
	AUE_NULL,		/* 451 = telemetry */
#else
	AUE_NULL,		/* 451 = nosys */
#endif /* TELEMETRY */
#if CONFIG_PROC_UUID_POLICY
	AUE_NULL,		/* 452 = proc_uuid_policy */
#else
	AUE_NULL,		/* 452 = nosys */
#endif
#if CONFIG_MEMORYSTATUS
	AUE_NULL,		/* 453 = memorystatus_get_level */
#else
	AUE_NULL,		/* 453 = nosys */
#endif
	AUE_NULL,		/* 454 = system_override */
	AUE_NULL,		/* 455 = vfs_purge */
};

#endif /* AUDIT */
